package com.larkin.utils.service.impl;

import com.alibaba.fastjson.JSON;
import com.larkin.utils.obj.User;
import com.larkin.utils.service.IUserService;
import org.springframework.stereotype.Service;

/**
 * Created by liujin on 2019/4/8.
 *
 * @description TODO
 */
@Service
public class UserService implements IUserService {
    @Override
    public String showInfo() {
        System.out.println("info");
        return "this is user info";
    }

    @Override
    public boolean validateUser(User user) {
        System.out.println("验证用户" + JSON.toJSON(user));
        return false;
    }
}
